import Vue from "vue";

const WindowInstanceMap = new Vue({
  data() {
    return {
      scrollY: 0
    };
  },
  created() {
    window.addEventListener("scroll", () => {
      this.scrollY = window.scrollY;
    });
  }
});

export default WindowInstanceMap;
